'use strict';
const Controller = require('egg').Controller;

class VehicleStatisticsController extends Controller {
    async getVehicleStatisticsByDateRange() {
        const { ctx } = this;
        const params = ctx.request.body;
        const result = await ctx.service.vehicleStatistics.getVehicleStatisticsByDateRange(params);
        ctx.body = result;
    }
}

module.exports = VehicleStatisticsController;